package com.esri.core.map.popup;

import com.esri.core.map.popup.PopupMediaValue;
import java.util.Arrays;

/* loaded from: classes.dex */
public class PopupChartMediaValue extends PopupMediaValue {
    String[] a;
    String b;

    public String[] getFields() {
        return this.a;
    }

    public void setFields(String[] strArr) {
        this.a = strArr;
    }

    public String getNormalizeField() {
        return this.b;
    }

    public void setNormalizeField(String str) {
        this.b = str;
    }

    @Override // com.esri.core.map.popup.PopupMediaValue
    public PopupMediaValue.VALUE_TYPE getType() {
        return PopupMediaValue.VALUE_TYPE.CHART;
    }

    public int hashCode() {
        int hashCode = (Arrays.hashCode(this.a) + 31) * 31;
        String str = this.b;
        return hashCode + (str == null ? 0 : str.hashCode());
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && getClass() == obj.getClass()) {
            PopupChartMediaValue popupChartMediaValue = (PopupChartMediaValue) obj;
            if (Arrays.equals(this.a, popupChartMediaValue.a)) {
                String str = this.b;
                if (str == null) {
                    if (popupChartMediaValue.b != null) {
                        return false;
                    }
                } else if (!str.equals(popupChartMediaValue.b)) {
                    return false;
                }
                return true;
            }
            return false;
        }
        return false;
    }

    public String toString() {
        return "PopupChartMediaValue [Fields=" + Arrays.toString(this.a) + "]";
    }
}
